package com.ruoyi.base.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.cems.domain.BmsBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 岗位对象 base_position
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
@Data
@ApiModel(description="岗位")
public class BasePosition extends BmsBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 所属组 */
    @Excel(name = "所属组")
    private String groupId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String jobNumber;

    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否启用")
    private int status;

    @ApiModelProperty("单位编码")
    private String unitCode;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("REVISION", getREVISION())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("groupId", getGroupId())
            .append("name", getName())
            .append("remark", getRemark())
            .append("jobNumber", getJobNumber())
            .append("status",getStatus())
            .append("unitCode",getUnitCode())
            .toString();
    }
}
